package library.persistence.dao;

import library.domain.User;

public interface AccountDao {

    User getAccountByUsername(String username);

    User getAccountByUsernameAndPassword(String username,String password);

    void insertAccount(User user);

    void updateAccount(User user);

}
